package com.xm.domain.dto;

import com.xm.domain.po.Employee;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class EmployeeDto extends Employee {

   @ApiModelProperty("邮箱验证码")
   @NotEmpty
   String emailCode;//邮箱验证码

   /**
    *  确认密码
    */
   @NotEmpty(message = "密码有误")
   private String password2;
//   @ApiModelProperty("验证码")
//   @NotEmpty
//   String verificationCode;//验证码
}
